package cn.schoolwow.ams.domain.block.form;

import cn.schoolwow.ams.domain.block.router.AbstractRouterBlock;

public abstract class FormBlockConfigAware extends AbstractRouterBlock {
    @Override
    public String getBlockUniqueName(){
        getAMSCacheBlockConfig();
        FormBlockOption amsClazzListBlockOption = (FormBlockOption) cacheBlockConfig;
        String blockUniqueName = "formBlock|"+cacheBlockConfig.projectName +"|"+ amsClazzListBlockOption.formClass.getSimpleName();
        return blockUniqueName;
    }

    public abstract FormBlockOption getAMSBlockConfig();
}
